home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
-
- set -e
-
- case "$1" in
- configure)
- # register the alternatives of x-window-manager manually
- # because dh_installwm doesn't register manpage as slave yet.
- update-alternatives --install /usr/bin/x-window-manager \
- x-window-manager /usr/bin/metacity 60 \
- --slave /usr/share/man/man1/x-window-manager.1.gz \
- x-window-manager.1.gz /usr/share/man/man1/metacity.1.gz
-
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
- esac
-
- # Automatically added by dh_installmenu
- if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
- update-menus
- fi
- # End automatically added section
-
-
- exit 0
-
-